function logout(){
    if(confirm("是否确定注销?")){
    //删除session信息
        $.post("/user/logout",{},
        function (){
            //跳转到login.html
            location.href="login.html";
        }
        )

    }

}













